<template>
<div class="empty_wrap">
  <van-empty image="error" description="你要找的页面走丢咯~~" class="error" />
  <van-button type="primary" class="goback" @click="goback" align="center">
    点击回到主页面
  </van-button>
</div>
</template>

<script setup lang="ts">
import router from '@/router';


const goback = () => {
  router.replace('/home')
}

</script>

<style scoped>
.error {
  margin-top: 150px;
}
.goback {
  display: block;
  margin: 0 auto;
}
</style>